<div class="tblsitebox">
	<div class='gantt'></div>
<script>
$(function() {
	jQuery(".gantt").gantt({ source: "<%= @current_project ? @current_project.link + '?fmt=json' : '/tasklets?fmt=json' %>" });

	$(document).bind('cbox_complete', function(){
		jQuery(".gantt").gantt({ source: "<%= @current_project ? @current_project.link + '?fmt=json' : '/tasklets?fmt=json' %>" });
	});
});
</script>
</div>
